Page({

  /**
   * 页面的初始数据
   */
  data: {
    date: '2016-09-01',
    selectdate:"本月",
    totalprice: 10000,//总收入
    itemprice:388,
    itemprices:[
      {
        itemno:3232323232323,
        date:"今天",
        minutes:"11:38",
        price:388
      },
      {
        itemno: 3232323232323,
        date: "今天",
        minutes: "10:38",
        price: 45
      },
      {
        itemno: 3232323232323,
        date: "今天",
        minutes: "08:38",
        price: 422
      },
      {
        itemno: 3232323232323,
        date: "今天",
        minutes: "06:38",
        price: 233
      },
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    
  },
  //日期选择器：
  getDateTime: function (e) {
    console.log('picker发送选择改变，携带值为', e.detail.value)
    this.setData({
      date: e.detail.value
    })
  },
})